<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/MiniStock.Entities.Stock.Events.Product" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/MiniStock.Entities.Stock.Events.Product" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:999/command?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost:999/command?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/MiniStock.Entities.Common.Events" />
  <xs:complexType name="ProductEventBase">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/MiniStock.Entities.Common.Events" base="q1:EntityEventBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Id" type="ser:guid" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ProductEventBase" nillable="true" type="tns:ProductEventBase" />
  <xs:complexType name="ChangeProductManufacturerEvent">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ProductEventBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="ManufacturerId" nillable="true" type="ser:guid" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ChangeProductManufacturerEvent" nillable="true" type="tns:ChangeProductManufacturerEvent" />
  <xs:complexType name="ChangeProductDescriptionEvent">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ProductEventBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ChangeProductDescriptionEvent" nillable="true" type="tns:ChangeProductDescriptionEvent" />
  <xs:complexType name="CreateProductEvent">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ProductEventBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ProductNumber" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CreateProductEvent" nillable="true" type="tns:CreateProductEvent" />
</xs:schema>